<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!--新闻模块管理-->
<div class="main_tag">新闻模块管理>管理新闻</div>
<div class="sysm1_udiv">
<!--${page.list}  -->
	<c:choose>
		<c:when test="${empty(page.list)}">还没有发布新闻哦！！！</c:when>
		<c:otherwise>
			<table class="sysm1_utable">
				<tr>
					<th style="width: 25%;">发布日期</th>
					<th style="width: 15%;">新闻类型</th>
					<th style="width: 30%;">标题</th>
					<th style="width: 10%;">点击数</th>
					<th>管理</th>
				</tr>
				<c:forEach var="news" items="${page.list}">
					<tr>
						<td>${news.time}</td>
						<td>${news.kind}</td>
						<td>${news.title}</td>
						<td>${news.click}</td>
						<td>管理图标</td>
					</tr>
				</c:forEach>
			</table>
			<jsp:include page="pager.jsp"></jsp:include>
		</c:otherwise>
	</c:choose>
	</div>
	<Script>
		$(document).ready(function() {
			$("table tr").mouseover(function() {
				$(this).css("background", "#F3F3F3");
			});
			$("table tr").mouseout(function() {
				$(this).css("background", "");
			});
		});
	</Script>